interface userInfoDto {
  id: string;
  name: string;
  loginCode: string;
  jurisdiction: string;
  roles: string[];
  sysOrgName: string;
}

export interface sysMenus {
  id: string;
  parentId: string;
  menuCode: string;
  menuName: string;
  menuIcon: string;
  component: string;
  menuUrl: string;
  menuMark: string;
  state: number;
  sort: number;
  createdAt: string;
  updatedAt: string;
  updatedId: string;
  children: sysMenus[];
}

export type loginRequest = {
  captcha: string;
  loginCode: string;
  pwd: string;
};

export type loginResponse = {
  userInfoDto: userInfoDto;
  sysMenus: sysMenus[];
};
